﻿namespace FlexPlatform.Shared.Validation
{
    public interface IValidationRule
    {
        IValidationResult Validate(object proposedValue);

        void Configure(string errorMessageFormat, object ruleSpecificValue);
    }
}
